import request, { uploadFileReq } from "@/utils/request";
import { BASE_URL, REDIRECT_URI } from "@/settings";
// 保存 简历
export function jobSeekersAdd(data) {
  return request({
    url: `${BASE_URL}/recruit2/api/v1/jobSeekers/saveByOneself`,
    method: "POST",
    data
  });
}
// 投简历
export function deliverRecords(data) {
  return request({
    url: `${BASE_URL}/recruit2/api/v1/deliverRecords`,
    method: "POST",
    data
  });
}
export function resumeTransformation(filePath, e) {
  return uploadFileReq({
    url: `${BASE_URL}/recruit2/api/v1/talentPools/resumeTransformation`,
    filePath: filePath,
    name: "file",
    valid: true
  });
}